package com.dyjch.mly.service;

import com.dyjch.mly.entity.GoodsBound;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsManagerService {
    public GoodsBound queryGoodsByName(String name);

    public List<GoodsBound> getAllMessage();

    public void updateWithNumber(@Param("name") String name, @Param("number") int number);

    public void addGoods(GoodsBound goodsBound);

    public void deletGoodsByName(String name);
}
